package com.guide.dao;

import java.util.List;
import java.util.Map;

import com.guide.bizdto.TravelTeamSel;
import com.guide.domain.TravelTeam;


public interface TravelTeamDao {
	public long insertTravelTeam(TravelTeam travelTeam);
	
	public List<TravelTeam> getTravelTeamList(Long userId,TravelTeamSel travelTeamSel);//Integer pageIndex,Integer pageSize,Integer apply,Integer daidui,Integer startTime);
	
	public Integer countTravelTeamList(Long userId,TravelTeamSel travelTeamSel);//Integer pageIndex,Integer pageSize,Integer apply,Integer daidui,Integer startTime);
	
	public List<TravelTeam> getNewTravelTeamList(TravelTeamSel travelTeamSel);//(Integer pageIndex,Integer pageSize);
	
	public Integer countNewTravelTeamList(TravelTeamSel travelTeamSel);//(Integer pageIndex,Integer pageSize);
	
	public List<TravelTeam> getNewTravelTeamListByGuide(String city,TravelTeamSel travelTeamSel,List<Long> teamIds);//Integer pageIndex,Integer pageSize,List<Long> teamIds);
	
	public Integer countNewTravelTeamListByGuide(String city,TravelTeamSel travelTeamSel,List<Long> teamIds);//Integer pageIndex,Integer pageSize,List<Long> teamIds);
	
	public TravelTeam getTravelTeamById(Long id);
	
	public void updateTravelTeam(TravelTeam travelTeam);
	
	public void removeTravelTeam(Long id);
	
	/**
	 * 导游使用
	 */
	public List<TravelTeam> getTravelTeamListByStatus(Long userId,TravelTeamSel travelTeamSel);//Integer pageIndex,Integer pageSize,Integer apply,Integer daidui,Integer starttime);
	
	public Integer countTravelTeamListByStatus(Long userId,TravelTeamSel travelTeamSel);//Integer apply,Integer daidui,Integer starttime);
	
	public void updateByPrimaryKeySelective(TravelTeam travelTeam);
	
	public void updateCommentStatusByPrimaryKeySelective(TravelTeam travelTeam);
	

}
